package com.intelligent.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.dto.WarehouseReceiptQueryDTO;
import com.intelligent.pojo.WarehouseReceipt;

/**
 * 入库单服务接口
 */
public interface WarehouseReceiptService extends IService<WarehouseReceipt> {

    //分页
    IPage<WarehouseReceipt> pageList(WarehouseReceiptQueryDTO query);

    //入库单详情
    WarehouseReceipt getDetailById(Long id);

    //新增
    boolean add(WarehouseReceipt receipt);
}
